package com.bbcare.followup.plat.store.ibatis;


import com.bbcare.followup.plat.entity.Patient;
import com.bbcare.followup.plat.entity.PhoneModifyHis;
import com.bbcare.followup.plat.entity.PtAccountInfo;
import com.bbcare.followup.plat.entity.PtContent;

import java.util.List;
import java.util.Map;

/**
 * 用户修改手机号处理层
 */
public interface IPatientPhoneDao {

    /**
     * 同过账户获得手机
     *
     * @param paramMap
     */
     List<String> selectPhoneByAccount(String accountId) throws Exception;

    /**
     * 根据手机号，修改用户账户信息
     * @param paramMap
     * @throws Exception
     */
    public void updatePatientAccountPhone(Map<String, Object> paramMap) throws Exception;

    /**
     * 根据手机号和用户account_id 获得该account_id 下所有队列
     * @param paramMap
     * @return
     * @throws Exception
     */
    List<String> selectPtUserInfo(Map<String, Object> paramMap) throws Exception;

    /**
     * 根据手机号和用户account_id 修改手机号
     * @param paramMap
     * @throws Exception
     */
    void updatePtUserInfo(Map<String, Object> paramMap)throws Exception;


    /**
     * 查找所有要更新的内容
     * @param paramMap
     * @throws Exception
     */
    List<String> selectPtContentData(Map<String, Object> paramMap)throws Exception;

    /**
     * 修改账户下建档信息
     * @param paramMap
     * @throws Exception
     */
    void  updatePtContentData(Map<String, Object> paramMap)throws Exception;

    /**
     * 插入修改记录
     * @param phoneModifyHis
     */
    void insertPhoneModifyHis(PhoneModifyHis phoneModifyHis)throws Exception;
}
